package net.pinnoocle.playdao.entity.shopPc;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.pinnoocle.playdao.entity.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-21 16:18
 */
@Data
public class SaveScriptLabelParams {

    @ApiModelProperty(value = "剧本标签id")
    @NotNull(message = "剧本标签id不能为空",groups = UpdateGroup.class)
    private Integer labelId;

    @ApiModelProperty(value = "剧本标签name",required = true)
    @NotNull(message = "剧本标签名称不能为空")
    private String labelName;

    @ApiModelProperty("排序值")
    private Integer sort;
}
